<!-- 导航条
================================================== -->
<div id="home"></div>


<nav class="navbar navbar-aiyue scrolled">
    <div class="text-right visible-sm visible-xs toggle-menu"><i class="fa fa-bars"></i></div>
    <div class="container">
        <div class="menu-responsive hidden-md hidden-lg">
            <ul class="nav">
<think:nav name="nav">
    <li class="active"><a href="{$nav.url|get_nav_url}">{$nav.title}</a></li>
</think:nav>
            </ul>
        </div>
        <div class="navbar-header">
            <a class="navbar-brand" href="#">
<!--                <img src="__PUBLIC__/Index/images/logo_small.png" alt=""/>-->
            <img src="__ROOT__{:get_cover($logo['image'],$field = path)}" alt=""/>
            </a>
        </div>
        <div class="collapse navbar-collapse hidden-sm hidden-xs ">
            <ul class="nav navbar-nav nav-center">

<think:nav name="nav">
    <li><a href="{$nav.url|get_nav_url}">{$nav.title}</a></li>
</think:nav>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                   <if condition ="session('menber_auth.id') eq ''">
                    <li><a href="#" data-toggle="modal" data-target="#signin">登錄</a></li>
                    <else/>
                     <li><a href="{:U('Home/User/logout')}" >退出</a></li>
                    <li><a href="{:U('Home/Index/member')}">{:session('menber_auth.ccount')}</a></li>
                   </if>
            </ul>
        </div>
    </div>
</nav>

<!--<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
                        <div class="nav-collapse collapse pull-right">
                            <if condition="is_login()">
                                <ul class="nav" style="margin-right:0">
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="padding-left:0;padding-right:0">{:get_username()} <b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="{:U('User/profile')}">修改密码</a></li>
                                            <li><a href="{:U('User/logout')}">退出</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            <else/>
                                <ul class="nav" style="margin-right:0">
                                    <li>
                                        <a href="{:U('User/login')}">登录</a>
                                    </li>
                                    <li>
                                        <a href="{:U('User/register')}" style="padding-left:0;padding-right:0">注册</a>
                                    </li>
                                </ul>
                            </if>
                        </div>
        </div>
    </div>
</div>-->
